package com.car.service.impl;

import com.car.dao.UserMapper;
import com.car.entity.User;
import com.car.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

@Service("userService")
public class UserService implements IUserService {
    @Autowired
    @Qualifier("userMapper")
    private UserMapper userMapper;

    @Override
    public User findUser(String uname,String password) {
        return userMapper.findUser( uname, password);
    }
}
